package com.china.joinproject;



import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class MyProfileActivity extends Activity {
	public final static String EXTRA_NICK = "nick";
private String nickname;
private TextView userNickname;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.my_profile);
		Bundle extras = getIntent().getExtras();
		if (extras != null) {
			this.nickname = (String) extras.getString(EXTRA_NICK);
			
		}
		userNickname = (TextView) findViewById(R.id.user_nickname);
		userNickname.setText(nickname);
	}
}
